import { createApp } from 'vue'
import 'amfe-flexible'
import Vant from "vant";
import 'vant/lib/index.css'
import { Image as VanImage } from 'vant';
import pinia from "./store";
import router from './router';
import App from './App.vue'
import vLazy from '@/directives/v-lazy';// 引入自定义指令：图片懒加载
import "@/main.css";
import "@/static/icon/home/iconfont.css";//引入icon图标
import 'swiper/less';
import 'swiper/less/free-mode';
import "@/static/icon/search/iconfont.css";
const app = createApp(App);

app.use(Vant)
    .use(pinia)
    .use(router)
    .use(vLazy)
    .use(VanImage)
    .mount('#app')
